package com.atguigu.gulimall.web.vo;

import lombok.Data;

import java.util.List;

/**
 * @author nicc
 * @version 1.0
 * @className CategoryVo
 * @date 2022-10-03 12:33
 *
 *  前端首页信息的嵌套结构
 *
 */
@Data
public class CategoryVo {

    //当前分类id
    private Long categoryId;

    //当前分类名
    private String categoryName;

    //子分类
    private List<CategoryVo> categoryChild;

}
